package com.shenzhenai.module_principles.demo4.after;

/**
 * @author huangzehui
 * @date 2025/8/14 13:57 周四
 * @description
 *
 * 17.设计模式-设计原则(接口隔离原则案例改进)
 * https://www.bilibili.com/video/BV1Yt4y1B7Cm?spm_id_from=333.788.player.switch&vd_source=e07cc8cc94eb22bd76722071b03cd199&p=17
 */
public class Client {


    public static void main(String[] args) {
        HeimaSafetyDoor door = new HeimaSafetyDoor();

        door.antiTheft();
        door.fireproof();
        door.waterproof();

        System.out.println("=======================");

        ItcastSafetyDoor door1 = new ItcastSafetyDoor();
        door1.antiTheft();
        door1.fireproof();
    }

}
